<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>新闻</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link href="style/bootstrap.css" rel="stylesheet">
<link href="style/bootstrap-theme.css" rel="stylesheet">
<script src="style/jquery-2.1.1.js"></script>
<script src="style/bootstrap.js"></script>
<script src="style/own.js"></script>
<style type="text/css">
    body{  font-family: "微软雅黑";word-spacing:8px; letter-spacing: 1px;}
    div{margin: 0 auto;}
</style>

<script>
$(document).ready(function(){
    $("a").attr("target","_blank");
});

$(function(){
	$("a").bind("click",function(){return false;});
	});
</script>

</head>

<body >

	<div class="fdiv">
		<div style="width: 950px;">
			<c:forEach items="${newbean}" var="bean">
				
				<div class="panel panel-default">
				<div class="page-header">
				  <h2>${bean.title } <small>${bean.source }</small></h2>
				</div>
				
					  <div class="panel-body">
					   ${bean.detail }
					  </div>
				</div>
			</c:forEach>
				
		</div>
	</div>
	
</body>
</html>

